﻿using UnityEditor;
using UnityEngine;

namespace UIDCToolsProfiler
{
    public class UGUIAssistantMenu
    {
        [MenuItem("CheckWindow/UIDCToolWindow")]
        public static void OpenUIAssistant()
        {
            UIDCToolWindow windows = EditorWindow.GetWindow<UIDCToolWindow>();
            windows.autoRepaintOnSceneChange = true;
            windows.titleContent = new GUIContent("UIDCToolWindow");
            windows.maxSize = new Vector2(1600, 1000);
            windows.minSize = new Vector2(200, 500);

            windows.Show();
        }
    }
}

